package com.lovefreedom.psi.bean;

import java.util.HashSet;
import java.util.Set;

public class Goods {
	private int id;
	private String code;	
	private String name;
	private String unit;
	private float beginInventory;	
	private float currentInventory;
	private float purchasePrice;
	private float sellingPrice;
	private String remark;	
	private Category category;
	private Set<PurchaseGoods> purchaseGoods = new HashSet<PurchaseGoods>();
	private Set<SaleGoods> saleGoods = new HashSet<SaleGoods>();
	private Set<InventoryGoods> inventoryGoods = new HashSet<InventoryGoods>();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public float getBeginInventory() {
		return beginInventory;
	}
	public void setBeginInventory(float beginInventory) {
		this.beginInventory = beginInventory;
	}
	public float getCurrentInventory() {
		return currentInventory;
	}
	public void setCurrentInventory(float currentInventory) {
		this.currentInventory = currentInventory;
	}
	public float getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(float purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public float getSellingPrice() {
		return sellingPrice;
	}
	public void setSellingPrice(float sellingPrice) {
		this.sellingPrice = sellingPrice;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Category getCategory() {
		return category;
	}
	public void setCategory(Category category) {
		this.category = category;
	}
	public Set<PurchaseGoods> getPurchaseGoods() {
		return purchaseGoods;
	}
	public void setPurchaseGoods(Set<PurchaseGoods> purchaseGoods) {
		this.purchaseGoods = purchaseGoods;
	}
	public Set<SaleGoods> getSaleGoods() {
		return saleGoods;
	}
	public void setSaleGoods(Set<SaleGoods> saleGoods) {
		this.saleGoods = saleGoods;
	}
	public Set<InventoryGoods> getInventoryGoods() {
		return inventoryGoods;
	}
	public void setInventoryGoods(Set<InventoryGoods> inventoryGoods) {
		this.inventoryGoods = inventoryGoods;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
}
